/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package au.edu.swin.swinvehicle.vehiclebooking;

import java.util.List;
import javax.ejb.Remote;

/**
 *
 * @author Administrator
 */
@Remote
public interface VehicleBookingManagerRemote {

    public void addVehicleBooking(VehicleBookingDetailedTO to) throws VehicleBookingManagerException;

    public void editVehicleBooking(VehicleBookingDetailedTO to) throws VehicleBookingManagerException;

    public void assignVehicleBooking(VehicleBookingDetailedTO to) throws VehicleBookingManagerException;

    public void deleteVehicleBooking(Long id) throws VehicleBookingManagerException;

    public List<VehicleBookingDetailedTO> getAllDetailedVehicleBookings() throws VehicleBookingManagerException;

    public VehicleBookingDetailedTO getVehicleBooking(Long id) throws VehicleBookingManagerException;

    public List<VehicleBookingDetailedTO> getDetailedVehicleBookingsByFilter(VehicleBookingFilterTO filter) throws VehicleBookingManagerException;
}
